package com.fjec.paid.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 007.订单退款异步表
 * </p>
 *
 * @author admin
 * @since 2020-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("biz_order_refund_log")
public class BizOrderRefundLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @TableId("Id")
    private Long id;

    /**
     * 退款Id
     */
    @TableField("RefundId")
    private Long refundId;

    /**
     * 订单交易流水
     */
    @TableField("TradeNo")
    private String tradeNo;

    /**
     * 商户订单号
     */
    @TableField("OutTradeNo")
    private String outTradeNo;

    /**
     * 退款请求号
     */
    @TableField("OutRequestNo")
    private String outRequestNo;

    /**
     * 退款交易状态
     */
    @TableField("RefundState")
    private Integer refundState;

    /**
     * 订单金额
     */
    @TableField("TotalAmount")
    private Integer totalAmount;

    /**
     * 退款金额
     */
    @TableField("RefundAmount")
    private Integer refundAmount;

    /**
     * 退款会计日期 格式"yyyy-MM-dd"
     */
    @TableField("AccountDate")
    private String accountDate;

    /**
     * 银盛响应
     */
    @TableField("YsResponse")
    private String ysResponse;

    /**
     * 创建时间
     */
    @TableField("CreateTime")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("UpdateTime")
    private LocalDateTime updateTime;


}
